package org.bitterorange.flansmodslain.models;

import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class BukkitHealSupplyEvent extends Event {
    private static final HandlerList Handlers = new HandlerList();
    private final Player supplier;
    private final Player supplied;
    private final float healAmount;


    public BukkitHealSupplyEvent(Player supplier, Player supplied, float healAmount) {
        this.supplier = supplier;
        this.supplied = supplied;
        this.healAmount = healAmount;
    }

    public Player getSupplier() {
        return supplier;
    }

    public Player getSupplied() {
        return supplied;
    }

    public float getHealAmount() {
        return healAmount;
    }

    public static HandlerList getHandlerList() {
        return Handlers;
    }

    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
